<?php

class HomeController extends BaseController {
    public function home(){
        /*$this->view = View::make('home')->with('article',Article::first())

                          ->withTitle('我是一个标题')

                          ->withHelloWord ('hello_word!');*/
        /*$this->mail = Mail::to(['1908002007@qq.com'])

                          ->from('张磊 <18109485312@163.com>')

                          ->title('来自你身边的一份信!')

                          ->content('你是一个大逗逼');*/
        Redis::set('key','value',5,'s');

        echo Redis::get('key');
    }
}